package com.portal.admin.message.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.portal.admin.base.entity.BaseEntity;
import com.portal.admin.utils.excel.annotation.ExcelField;

/**
*【消息信息】实体对象
*/

@TableName("sys_message")
public class SysMessage extends BaseEntity {
    /*** 主键id */
    private String id;
    /*** 消息类型 */
    private Integer msgType;
    /*** 父级id */
    private String pid;
    /*** 用户id */
    private String userId;
    /*** 关联id */
    private String refId;
    /*** 消息内容 */
    private String content;
    @ExcelField(title="主键id",align=2, sort=0)
    public String getId() {
        return this.id;
    }
    public void setId(String id) {
        this.id = id;
    }
    @ExcelField(title="消息类型",dictType="msg_type",align=2, sort=1)
    public Integer getMsgType() {
        return this.msgType;
    }
    public void setMsgType(Integer msgType) {
        this.msgType = msgType;
    }
    @ExcelField(title="父级id",align=2, sort=2)
    public String getPid() {
        return this.pid;
    }
    public void setPid(String pid) {
        this.pid = pid;
    }
    @ExcelField(title="用户id",align=2, sort=3)
    public String getUserId() {
        return this.userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    @ExcelField(title="关联id",align=2, sort=4)
    public String getRefId() {
        return this.refId;
    }
    public void setRefId(String refId) {
        this.refId = refId;
    }
    @ExcelField(title="消息内容",align=2, sort=5)
    public String getContent() {
        return this.content;
    }
    public void setContent(String content) {
        this.content = content;
    }
}